Add a status web page. 🔼
[url=https://www.hypergridbusiness.com/faq/how-and-why-to-set-up-a-stats-page/]how and why to set up a stats page[/url]
reported=2019-08-12 23:12:07
reporter=onefang
priority=none
category=Feature
severity=feature
resolution=fixed
2019-08-13 06:07:23 Taylor: The in-built stats page might be fine. We could start by enabling that, and submitting it to hypergridbusiness.
I'll inform them at the time of submission that it is the in-built one, perhaps that will persuade them to support it.
2019-08-13 15:33:04 onefang: I mentioned this before, the built-in status page is per sim, each sim has it's own page on it's own web port. That's unlikely to be supported by hypergridbusiness.
The current splash page code is generic, you edit your splash page to include variables for the stats you want, then the web server fills those in when it serves the page. All I need to do is support some more stats, then write a simple web page similar to one of the ones hypergridbusiness shows.
On the other hand, I'm toughening up the built in web server for the account manager, so I want to finish that before we point strangers at the web server.
2019-08-18 21:23:55 onefang: While I'm at it, stick the RobustExtra.ini and keyfiles into the install and secure scripts.
2019-08-22 02:37:22 onefang: [list]
[*]total land area (square meters)
[*]regions
[*]var regions
[*]single regions
[*]computed total regions?
[*]actual regions?
[/list]
[list]
[*]total registered users
[*]locals online now
[*]HG visitors online now
[*]total online now
[/list]
[list]
[*]local 30-day visitors
[*]HG 30-day visitors
[*]total 30-day visitors
[/list]
[list]
[*]local 60-day visitors
[*]HG 60-day visitors
[*]total 60-day visitors
[/list]
[list]
[*]web page
[*]login URI
[*]login screen
[/list]
2019-08-22 02:57:50 onefang: "locals and visitors on this grid in the last month"
[code=SLQ]
count GridUser where Login > UNIXTIMESTAMP(FROMUNIXTIME(UNIX_TIMESTAMP(now()) - 2419200))
[/code]
I'm not sure if GridUser.HomeRegionID = 00000000-0000-0000-0000-000000000000 means they are HGers (NOPE it doesn't), or locals that never set their home. I could join GridUser.UserID to UserAccounts.PrincipalID to get locals, then subtract to get HGers.
2019-08-22 03:11:14 onefang: regions.sizeX and regions.sizeY show proper sim size, but show 0 x 0 for sims that have not been on recently.
So maybe "computed total regions" could be "count regions", "online regions" could be "count regions where sizeX != 0", and "total current online land area" can add together the non zero X and Ys.
var regions would be "count regions where sizeX > 256 or sizeY > 256". Single regions would be "count regions where sizeX = 256 and sizeY = 256".
And I can throw in "offline regions" which will be "count regions where sizeX = 0".